<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>111</title>
</head>
<body>
<!--<form action="/demo03/servlet5" method="get">-->
<form action="/demo03/servlet5" method="post">
    <input type="text" name="username"><br/>
    <input type="password" name="userpwd"><br/>
    爱好：
    <input type="checkbox" name="hobby" value="1"/>唱
    <input type="checkbox" name="hobby" value="2"/>跳
    <input type="checkbox" name="hobby" value="3"/>rap
    <input type="checkbox" name="hobby" value="4"/>篮球

    <input type="submit" value="提交"/>
</form>
</body>
</html>